package com.axonactive;

import java.util.List;

import javax.ejb.Stateless;
import javax.inject.Inject;

@Stateless
public class BookService {
	
	@Inject BookDao bookDao;
	public List<Book> getBooks() {
		return bookDao.getBooks();
	}
	
	public void saveBook(Book book) {
		bookDao.saveBook(book);
	}

}
